"Outline" object

This object represents the "Report tree" control element in a preview window.

This element displays a treelike structure of a finished report. When clicking on any tree node, there is a jump to the page connected to this node. To display the tree, you should either enable it by clicking the  button in the toolbar of the preview window, or specify it with the help of the "Report.PreviewOptions.OutlineVisible=True" property. The control element's width in pixels can be specified there as well: Report.PreviewOptions.OutlineWidth.

Let us examine this object's methods.

Method Description
procedure AddItem(const Text:
String)
Adds an element with the "Text" name to the current tree position. The current report’s page and the current position on the page are associated with the element.
procedure LevelRoot Shifts the current position in the tree to the root level.
procedure LevelUp Shifts the current position in the tree on one level up.